package top.purity.framework.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @version 1.0
 * @Author Lmh
 * @Description
 * @CreateTime 2023-09-20 20:07
 */

@Getter
@AllArgsConstructor
public enum GlobalRespCode {

    SUCCESS(0, "请求成功"),
    ERROR(500, "系统异常"),
    UN_AUTH(400, "权限不足"),
    UN_LOGIN(410, "账号未登录"),
    LOGIN_EXPIRE(411, "登录已过期");

    private final Integer code;

    private final String msg;
}
